<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">

    <h:head>
        <title>ALMACEN</title>
    </h:head>

    <h:body>
        <div class="navbar-top">
            <ui:insert name="navbar-top"><h1><i class="fa fa-gears"></i>  ALMACEN</h1></ui:insert>
        </div>
        <ui:include src="#{loginBean.pathRol}" />
        <div class="content">
            <ui:insert name="content"></ui:insert>
        </div>
        <div class="footer">
            <ui:insert name="footer">ALMACEN &copy; 2014 Todos los derechos reservados.</ui:insert>
        </div>

        <script type="text/javascript">
            function handleLoginRequest(xhr, status, args) {
        
                    location.href= "http://localhost:8080/primefaces-intro/"+args.ruta;
                
            }
        </script>
    </h:body>

</html>
